package com.ruoyi.record.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.record.domain.RecordAttendContent;
import com.ruoyi.record.domain.RecordSalaryContent;
import com.ruoyi.record.domain.RecordWage;

import java.util.List;

/**
 * 考勤详情Service接口
 * 
 * @author ruoyi
 * @date 2022-09-26
 */
public interface IRecordWageService extends IService<RecordWage>
{
    /**
     * 查询档案工资
     * 
     * @param wageId 档案工资主键
     * @return 档案工资
     */
    public RecordWage selectRecordWageByWageId(Long wageId);

    /**
     * 查询档案工资列表
     * 
     * @param recordWage 档案工资
     * @return 档案工资列表
     */
    public List<RecordWage> selectRecordWageList(RecordWage recordWage);

    /**
     * 新增档案工资
     * 
     * @param recordWage 档案工资
     * @return 结果
     */
    public int insertRecordWage(RecordWage recordWage);

    /**
     * 修改档案工资
     * 
     * @param recordWage 档案工资
     * @return 结果
     */
    public int updateRecordWage(RecordWage recordWage);

    /**
     * 批量删除档案工资
     * 
     * @param wageIds 需要删除的档案工资主键
     * @return 结果
     */
    public int deleteRecordWageByWageIds(String wageIds);

    /**
     * 删除档案工资
     * 
     * @param wageId 档案工资主键
     * @return 结果
     */
    public int deleteRecordWageByWageId(Long wageId);

    /**
     * 导入档案工资
     *
     * @param recordWageList 档案工资列表
     * @param operName 操作用户
     * @return 结果
     */
    public String importRecordWage(List<RecordWage> recordWageList, boolean isUpdateSupport, String operName);

}
